package yz.dut.edu.graduate.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import yz.dut.edu.graduate.pojo.Dish_Ingredient;

@Repository
public interface Dish_IngredientMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Dish_Ingredient record);

    int insertSelective(Dish_Ingredient record);

    int deleteByDId(Integer d_id);

    Dish_Ingredient selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Dish_Ingredient record);

    int updateByPrimaryKey(Dish_Ingredient record);
}